package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallNoticeAdmin;
import com.ctsi.ssdc.domain.LitemallNoticeAdminExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallNoticeAdminRepository extends BaseRepository<LitemallNoticeAdmin, Integer, LitemallNoticeAdminExample> {
    @Override
    long countByExample(LitemallNoticeAdminExample example);

    @Override
    int deleteByExample(LitemallNoticeAdminExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallNoticeAdmin record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallNoticeAdmin record);

    @Override
    List<LitemallNoticeAdmin> selectByExample(LitemallNoticeAdminExample example);

    @Override
    LitemallNoticeAdmin selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallNoticeAdmin record, @Param("example") LitemallNoticeAdminExample example);

    @Override
    int updateByExample(@Param("record") LitemallNoticeAdmin record, @Param("example") LitemallNoticeAdminExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallNoticeAdmin record);

    @Override
    int updateByPrimaryKey(LitemallNoticeAdmin record);
}